# Title: COOL TEXT                                                     		           Filename: NumPrim.s
# Autho: MUNIVE SALDAÑA EVANS JOSUE					                   Date: 15 / Mar / 2017
# Description: Desplegar Cool Text
# Input: -
# Output:

@ CoolText.s - a little asm freeter.

.section       .bss
.comm buffer, 48       @ reerva 48 bytes

.section      .data
msg:
        .ascii  "** Evans **\nPlease enter your name: "
msgLen = . - msg
msg2:
        .ascii "Hello "
msg2Len = . - msg2

.section    .text
.globl  _start
_start:

mov r0, $1
ldr r1, =msg
ldr r2, =msgLen
mov R7, $4
svc $0

mov r7, $3
mov r0, $1
ldr r1, =buffer
mov r2, $0x30
svc $0

mov r0, $1
ldr r1, =msg2
ldr r1, =msg2Len
mov r7, $4
svc $0

mov r0, $1
ldr r1, =buffer
mov r2, $0x30
mov r7, $4
svc $0

    mov r7, $1
    svc $0
    .end
